Use 'to_hex' instead
Convert this integer to hexadecimal text.
Does not include a base prefix in the output, i.e. integer(25).to_hex() returns 19 rather than 0x19.
integer(25).to_hex()
19
0x19
0.6.0